from django.forms import *
from thesocialstockmarket.users.models import *
from django.contrib.auth.forms import UserChangeForm

#===============================================================================
# class UserRegistrationForm(ModelForm):
#    class Meta:
#        model = User
#===============================================================================


class NewsRatingForm(ModelForm):
    class Meta :
        model = NewsRating
        exclude = ('news','user')
        
class UserImageForm(ModelForm):
#    image = FileField()
    class Meta :
        model = UserAccount
        fields = ('image',)
        
